This particular class module is one dealing mainly with windows fonts.
The aim of CDXVB is to try to create a standard in VB for VB games programmers. I know they are very useful for me, and I have decided to release the source code.
The whole library is on my hard-disk, and when I feel it is the right time, it will be released. There are beta versions out there, but not a final release yet!
CDXVB already contains:
CDXVBFPS - Display Frames Per Second (Works using GDI calls)
CDXVBINI - Get/set values in INI files with no hassle
CDXVBInput - DirectInput wrapper
CDXVBLayer - CDXVBSurface wrapper displaying a scrollable background 'layer'
CDXVBMap - CDXVBSurface wrapper for map manipulation and display on a DirectDraw surface
CDXVBMusic - Manipulate and play MIDI files
CDXVBMusicCD - (Temporarily lost - HD crash) CD music from VB!
CDXVBScreen - DirectDraw wrapper
CDXVBSound - DirectSound wrapper
CDXVBSoundBuffer - Play wav files on DirectSound buffers
CDXVBSprite - CDXVBSurface wrapper for simplistic sprites
CDXVBSurface - DirectSurface wrapper
Going to add soon (Demo programs done already!):
CDXVBCredits - Display end-game credits like at the end of a movie only this fades on and off
CDXVBTypeWriter - Cool 'typewriter' effect where the function is called each frame, but only one character is typed at a time until the whole line is completed!
CDXVBSnow - Create 'snow' like effects. For this to work, there must be a plain black background and some text in the middle of the screen.
The example program demonstrates the class wrapper, I leave it up to you what you do with it though. Hopefully though this program should help you a lot if you are looking for installing your own font on the computer and wanting to do cool effects with it!
NOTE: The gradient text function, although it will 'work' with any font, it works BEST (I mean, optimum results) with a fixed width font such as fixedsys.